Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/remove credentials #272

Merged
merged 6 commits into from
Aug 6, 2024
Merged

Feature/remove credentials #272

merged 6 commits into from
Aug 6, 2024

Conversation

johnabass
Copy link
Contributor

The credentials type was creating a lot of problems for supporting other types of authentication. For example, the OAuth 3.0 flow uses URL parameters rather than the Authorization header. This refactor removes the Credentials type and simplifies the types of authentication that we currently support.

Copy link

codecov bot commented Aug 5, 2024

Codecov Report

Attention: Patch coverage is 71.12676% with 41 lines in your changes missing coverage. Please review.

Project coverage is 67.84%. Comparing base (5a5aa08) to head (4bcfc4e).

Files Patch % Lines
basculehttp/authorization.go 67.44% 10 Missing and 4 partials ⚠️
basculehttp/scheme.go 36.36% 7 Missing ⚠️
basculehttp/basic.go 64.70% 6 Missing ⚠️
basculehttp/error.go 50.00% 4 Missing ⚠️
basculehttp/middleware.go 75.00% 3 Missing and 1 partial ⚠️
basculejwt/token.go 0.00% 4 Missing ⚠️
basculehttp/challenge.go 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #272      +/-   ##
==========================================
+ Coverage   67.32%   67.84%   +0.52%     
==========================================
  Files          14       12       -2     
  Lines         456      423      -33     
==========================================
- Hits          307      287      -20     
+ Misses        141      125      -16     
- Partials        8       11       +3     
Flag Coverage Δ
unittests 67.84% <71.12%> (+0.52%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@denopink
Copy link
Contributor

denopink commented Aug 6, 2024

I'll have my review in by EOD 🙂

@johnabass johnabass merged commit 74c4ff5 into main Aug 6, 2024
19 checks passed
@johnabass johnabass deleted the feature/remove-credentials branch August 6, 2024 17:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants